import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
// 导入全局样式表
import './assets/css/global.css'
import './utils/rem'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import axios from 'axios'

Vue.prototype.$http = axios
axios.defaults.baseURL='/api'

// 富文本
import VueQuillEditor from 'vue-quill-editor'
Vue.use(VueQuillEditor)

Vue.use(ElementUI);

new Vue({
    router,
    render: h => h(App)
}).$mount('#app')
